package com.WFinstitute.service;


import java.util.List;

import com.WFinstitute.domain.Scholar;
import com.WFinstitute.domain.ScholarArticle;
import com.WFinstitute.util.Page;

/**
 * 
 * @author 匹夫
 * @date 2016-7-28 下午8:25:00
 * @function
 */

public interface ScholarArticleService {
	ScholarArticle addScholarArticle(ScholarArticle scholarArticle);
	Page<ScholarArticle> findScholarArticleList(Integer pageSize,Integer pageIndex,String name);
	Page<ScholarArticle> findScholarArticleListByReading(Integer pageSize,Integer pageIndex,String name);
    long count();
    ScholarArticle updateScholarArticle(ScholarArticle scholarArticle);
    ScholarArticle findScholarArticleById(Integer id);
    void deleteScholarArticleById(Integer id);
    List<ScholarArticle> findScholarArticleList();
    List<ScholarArticle> findScholarArticleByScholarname(String name);
}
